﻿<phone:PhoneApplicationPage 
    x:Class="OnlineMovies.Views.MusicDetail"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
     xmlns:LART="clr-namespace:OnlineVideos"
  xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False">
    <Grid x:Name="MainGrid">
        <Grid.RowDefinitions   >
            <RowDefinition Height="*"/>
            <RowDefinition Height="80"/>
        </Grid.RowDefinitions>
        <!--LayoutRoot is the root grid where all page content is placed-->
        <Grid x:Name="LayoutRoot" Grid.Row="0" Background="{StaticResource bipivot}">
            <!--Pivot Control-->
            <phone:Pivot x:Name="pvtMainDetails" SelectionChanged="pvtMainDetails_SelectionChanged">
              <phone:Pivot.Title>
                    <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
                        <Image Style="{StaticResource DetailPagePivotTitleImage}" x:Name="imgTitle" MouseLeftButtonDown="imgTitle_MouseLeftButtonDown"/>
                        <TextBlock   x:Name="tblkVideosTitle"   TextWrapping="NoWrap" Style="{StaticResource DetailPagePivotTitle}"/>
                    </StackPanel>
                </phone:Pivot.Title>
              <phone:Pivot.Foreground>white</phone:Pivot.Foreground>
                <!--Pivot item one-->
                <phone:PivotItem x:Name="pvtitmDetail" Header="detail">
                    <Grid x:Name="DetailGrid"><LART:ShowDescription x:Name="showDesc" />
                    </Grid>
                </phone:PivotItem>
            <!--Pivot item two-->
                <phone:PivotItem x:Name="pvtitmAudio" Header="audio">
                    <Grid  x:Name="AudioGrid" >
                       <LART:ShowAudio></LART:ShowAudio>
                    </Grid>
                </phone:PivotItem>

                <!--Pivot item three-->
              <phone:PivotItem x:Name="pvtitmLyrics" Header="lyrics">
                    <Grid  x:Name="LyricsGrid">
                        <LART:Lyrics></LART:Lyrics>
                    </Grid>
                </phone:PivotItem>
                
              <phone:PivotItem x:Name="pvtitmCast" Header="cast">
                    <Grid  x:Name="CastGrid">
                     <LART:ShowCast></LART:ShowCast>
                    </Grid>
                </phone:PivotItem>

              <!--Pivot item four-->
              <phone:PivotItem x:Name="gamepivot" Header="game">
                    <Grid  x:Name="GameGrid">
                    <LART:MemoryGame></LART:MemoryGame>
                    </Grid>
                </phone:PivotItem>




            </phone:Pivot>
  <toolkit:PerformanceProgressBar
            VerticalAlignment="Top"
            x:Name="performanceProgressBar" Foreground="Red"/>
        </Grid>
        <StackPanel Name="adstackpl" Grid.Row="1" Background="Black" Orientation="Vertical"  >
        </StackPanel>
    </Grid>

       
   <phone:PhoneApplicationPage.ApplicationBar>

        <shell:ApplicationBar x:Name="appbar" IsVisible="False" IsMenuEnabled="True">
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem x:Name="btnshare" Text="Share this" Click="btnshare_Click_1"/>
                <shell:ApplicationBarMenuItem x:Name="btnadd"   Text="Add" Click="btnadd_Click_1"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>